﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="HumanResorcesProj.GUI.WebForm3" MasterPageFile="~/GUI/HumanResorcesMasterPage.Master" %>


<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

    <div>
 
        <asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1">
            <EditItemTemplate>
                EmpWorkEndDate:
                <asp:TextBox ID="EmpWorkEndDateTextBox" runat="server" 
                    Text='<%# Bind("EmpWorkEndDate") %>' />
                <br />
                <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                    CommandName="Update" Text="Update" />
                &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                    CausesValidation="False" CommandName="Cancel" Text="Cancel" />
            </EditItemTemplate>
            <InsertItemTemplate>
                EmpWorkEndDate:
                <br />
                <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                    CommandName="Insert" Text="Insert" />
                &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                    CausesValidation="False" CommandName="Cancel" Text="Cancel" />
            </InsertItemTemplate>
            <ItemTemplate>
                EmpWorkEndDate:
                <asp:Label ID="EmpWorkEndDateLabel" runat="server" 
                    Text='<%# Bind("EmpWorkEndDate") %>' />
                <br />
            </ItemTemplate>
        </asp:FormView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Eden-DatabaseConnectionString3 %>" 
            SelectCommand="SELECT [EmpWorkEndDate] FROM [EmpPersonalInfo]">
        </asp:SqlDataSource>
 
    </div>    
    
</asp:Content>

